<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <meta name="language" content="es" />
        <?php
        $baseUrl = Yii::app()->theme->baseUrl;
        $cs = Yii::app()->getClientScript();
        Yii::app()->clientScript->registerCoreScript('jquery');
        ?>


        <?php
        $cs->registerScriptFile($baseUrl . '/javascripts/1.3.0/adminflare-demo-init.min.js');
        ?>
        <script>
            var baseUrl = "<?php print Yii::app()->baseUrl . '/'; ?>";
            var themeUrl = "<?php print Yii::app()->theme->baseUrl . '/'; ?>";
            var user_id = "<?php print Yii::app()->user->id; ?>";
        </script>
       	<script type="text/javascript">

            // Include Bootstrap stylesheet 
            document.write('<link href="' + themeUrl + 'css/1.3.0/black-blue/bootstrap.min.css" media="all" rel="stylesheet" type="text/css" id="bootstrap-css">');
            // Include AdminFlare stylesheet 
            document.write('<link href="' + themeUrl + 'css/1.3.0/black-blue/adminflare.min.css" media="all" rel="stylesheet" type="text/css" id="adminflare-css">');
            // Include AdminFlare page stylesheet 
            document.write('<link href="' + themeUrl + 'css/1.3.0/pages.min.css" media="all" rel="stylesheet" type="text/css">');
        </script>

        <?php
        $cs->registerScriptFile($baseUrl . '/javascripts/1.3.0/modernizr-jquery.min.js');
        $cs->registerScriptFile($baseUrl . '/javascripts/1.3.0/bootstrap.min.js');
        $cs->registerCssFile($baseUrl . '/css/1.3.0/pages.min.css');
        ?>


    </head>
    
    <body class="signin-page">
        <div style="overflow: auto">
            <?php echo $content ?>
        </div>
    </body>

</html>
